package com.yuandian.management.socket;


import com.yuandian.management.socket.entity.SocketResponse;
import com.yuandian.management.socket.entity.SocketResult;

import java.io.Serializable;
import java.util.List;

/**
 * 探针交互响应内容
 * @author User
 *
 */
public class ProbeSocketResponse<T> extends SocketResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	private SocketResult result;
	private T kvs;
	private String data;
	private List<T> dataList;
	public SocketResult getResult() {
		return result;
	}
	public void setResult(SocketResult result) {
		this.result = result;
	}
	public T getKvs() {
		return kvs;
	}
	public void setKvs(T kvs) {
		this.kvs = kvs;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public List<T> getDataList() {
		return dataList;
	}
	public void setDataList(List<T> dataList) {
		this.dataList = dataList;
	}
	@Override
	public String toString() {
		return "ProbeSocketResponse [result=" + result + ", kvs=" + kvs + ", data=" + data + ", dataList=" + dataList
				+ "]";
	}
	
}
